package com.fresh.entity;


import java.util.Date;

/**   
 * @Title: ruledata
 * @Description: ruledata
 * @author xusai
 * @date 2017-10-09 16:51:21
 * @version V1.0   
 *
 */

public class RuleData  {

    /**主键*/
   
	private String id;
    /**规则名称*/
	private String name;
    /**规则描述*/
	private String description;
    /**规则最小值*/
	private String minValue;
    /**规则最大值*/
	private String mxValue;
    /**分值*/
	private Integer store;
    /**规则编号*/
	private String ruleCode;
    /**规则类型*/
	private String type;
    /**0- 有效  1-删除*/
	private Integer del;
    /**createTime*/
	private Date createTime;
    /**修改时间*/
	private Date updateTime;
    /**修改人*/
	private String updateUser;
    /**优先级*/
	private Integer priority;
    /**对应级别*/
	private Integer level;
//	区间
	private String section;
	
//	规则添加
	private String condition1;
//	规则条件
	private String rule_section2;
	
//	数据字典内的类型
	private String db_source;
	
	private Integer sum;
	
	private String shopId;
	
	/**
	 * @return the shopId
	 */
	public String getShopId() {
		return shopId;
	}
	/**
	 * @param shopId the shopId to set
	 */
	public void setShopId(String shopId) {
		this.shopId = shopId;
	}
	public Integer getSum() {
		return sum;
	}
	public void setSum(Integer sum) {
		this.sum = sum;
	}
	public String getDb_source() {
		return db_source;
	}
	public void setDb_source(String db_source) {
		this.db_source = db_source;
	}
	public String getRule_section2() {
		return rule_section2;
	}
	public void setRule_section2(String rule_section2) {
		this.rule_section2 = rule_section2;
	}
	
	public String getCondition1() {
		return condition1;
	}
	public void setCondition1(String condition) {
		this.condition1 = condition;
	}
	
	public String getSection() {
		return section;
	}
	public void setSection(String section) {
		this.section = section;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getMinValue() {
		return minValue;
	}
	public void setMinValue(String minValue) {
		this.minValue = minValue;
	}
	
	public String getMxValue() {
		return mxValue;
	}
	public void setMxValue(String mxValue) {
		this.mxValue = mxValue;
	}
	public Integer getStore() {
		return store;
	}
	public void setStore(Integer store) {
		this.store = store;
	}
	public String getRuleCode() {
		return ruleCode;
	}
	public void setRuleCode(String ruleCode) {
		this.ruleCode = ruleCode;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Integer getDel() {
		return del;
	}
	public void setDel(Integer del) {
		this.del = del;
	}
	
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public String getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	public Integer getPriority() {
		return priority;
	}
	public void setPriority(Integer priority) {
		this.priority = priority;
	}
	public Integer getLevel() {
		return level;
	}
	public void setLevel(Integer level) {
		this.level = level;
	}
	
	
	
	
	
}
